package src.com.foreknow.demo12;

import src.com.foreknow.demo12.A;

public class AImpl extends Person implements B,C {
    @Override
    public void m1() {
        System.out.println("m1...");
    }

    @Override
    public void m2() {
        System.out.println("m2...");
    }

    @Override
    public void m3() {
        System.out.println("m3...");
    }

    @Override
    public void m4() {
        System.out.println("m4...");
    }

    @Override
    public void m5() {
        System.out.println("m5...");
    }

    public static void main(String[] args) {
        AImpl a = new AImpl();
        a.m1();
        a.m2();
        a.m3();
        a.m4();
        a.m5();
    }
}












